import request from '@/utils/request'
import { CHECC_API_BASE_DATA } from '@/constants/proxy'

// 获取资产历史列表
export function requestClsVersionList(params:any,data: any): Promise<any> {
  return request({
    url: CHECC_API_BASE_DATA + `/bd-asset-info-history/page`,
    method: 'post',
    params,
    data:data,
  })
}

// 保存资产历史信息
export function saveClsVersion(data: any): Promise<any> {
  return request({
    url: CHECC_API_BASE_DATA + `/bd-asset-info-history`,
    method: 'post',
    data
  })
}



// 删除资产历史信息
export function delClsVersion(data: any): Promise<any> {
  return request({
    url: CHECC_API_BASE_DATA + `/bd-asset-info-history`,
    method: 'delete',
    data
  })
}


